package com.xbongbong.paas.pojo.dto;/*/*/

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

@Setter
@Getter
@ToString
public class CommentDetailDTO extends BaseDTO {
    private static final long serialVersionUID = 5526363471923618613L;

    /**
     * 评论数据id
     */
    @NotNull(message = "{dto.msg.commentDetail.dataId.NotNull}")
    private List<Long> dataId;

    @NotNull(message = "{dto.msg.commentDetail.businessType.NotNull}")
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer businessType;
}
